package com.msh.automatic.android.control.task;

import java.io.Serializable;

/**
 * 任务执行记录;
 * @author : http://www.chiner.pro
 * @date : 2025-6-6
 */
public class TaskLog implements Serializable,Cloneable{
    /** 主键 */
    private String id;

    /** 任务id */

    private String taskId;

    /** 任务状态 */

    private TaskLogStatus status;

    /** 任务消息 */

    private String message;

    /** 设备id */

    private String deviceId;

    /** 任务状态枚举 */
    public enum TaskLogStatus{
        wait_push,
        wait_execute,
        execute,
        over,
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public TaskLogStatus getStatus() {
        return status;
    }

    public void setStatus(TaskLogStatus status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
}